package com.bicon.botu.finance.payment.entity;

import com.bicon.botu.core.domain.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by L on 2017/6/23.
 * 支付宝相关支付数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AliPayDto extends BaseEntity {

    /**
     * 支付宝支付类型
     */
    @JsonIgnore
    public static String TYPE_ALIPAY = "1";

    /**
     * 支付宝支付类型
     */
    @JsonIgnore
    public static String NAME_ALIPAY = "支付宝";

    /**
     * 支付宝支付appID
     */
    private String alipayAppId;

    /**
     * 支付宝公钥
     */
    private String alipayPublicKey;
    /**
     * 支付宝2048公钥
     */
    private String alipayAppPublicKey;
    /**
     * 支付宝2048私钥
     */
    private String alipayAppPrivateKey;

    /**
     * 支付宝收款账号
     */
    private String alipayAccount;

    /**
     * 支付宝付款名称
     */
    private String payerName;

    /**
     * 支付宝付款账号
     */
    private String payerAccount;
}
